home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / systracker_src / src / st_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-28  |  8.5 KB  |  278 lines

  1.  
  2. /* This proto file was generated on Monday 14-Feb-00 20:58:46 */
  3.  
  4. #ifndef GPROTO
  5. #define GPROTO
  6. #endif /* GPROTO */
  7.  
  8. #ifndef LPROTO
  9. #define LPROTO
  10. #endif /* LPROTO */
  11.  
  12.  
  13. /*
  14.  * Global prototypes for module st_main.c
  15.  *
  16.  * Auto-generated with XProto 1.1 by Andrew Bell
  17.  *
  18.  */
  19.  
  20. void DEBUG( void );
  21. void M_PrgError( UBYTE *ErrStr, APTR ErrFmt );
  22.  
  23. /*
  24.  * Local prototypes for module st_main.c
  25.  *
  26.  * Auto-generated with XProto 1.1 by Andrew Bell
  27.  *
  28.  */
  29.  
  30. LONG wbmain( void );
  31. int main( void );
  32. BOOL M_InitPrg( void );
  33. void M_EndPrg( void );
  34. void M_DoPrg( void );
  35.  
  36. /*
  37.  * Global prototypes for module st_strings.c
  38.  *
  39.  * Auto-generated with XProto 1.1 by Andrew Bell
  40.  *
  41.  */
  42.  
  43. UBYTE *STR_Get( ULONG SID );
  44.  
  45. /*
  46.  * Global prototypes for module st_gui.c
  47.  *
  48.  * Auto-generated with XProto 1.1 by Andrew Bell
  49.  *
  50.  */
  51.  
  52. BOOL GUI_InitMUI( void );
  53. void GUI_EndMUI( void );
  54. BOOL GUI_Construct( void );
  55. void GUI_Destruct( void );
  56. void GUI_EventHandler( void );
  57. ULONG GUI_Popup( UBYTE *Title, UBYTE *Body, void *BodyFmt, UBYTE *Gads );
  58. ULONG GUI_Get_Cycle_Active( ULONG CycleID );
  59. APTR GUI_Get_List_Entry( ULONG ListID, ULONG Index );
  60. APTR GUI_Get_List_Active( ULONG ListID );
  61. void GUI_Act_List_Clear( ULONG ListID );
  62. struct Screen *GUI_Get_ScreenPtr( void );
  63. void GUI_Set_List_Active( ULONG ListID, ULONG Index );
  64. void GUI_Set_Text_Contents( ULONG TextID, UBYTE *Str );
  65. void GUI_Set_List_Quiet( ULONG ListID, BOOL State );
  66. void GUI_Act_Window_Open( ULONG WndID, BOOL State );
  67. void GUI_Act_AboutGUISystem( void );
  68. void GUI_Act_ConfigureGUISystem( void );
  69. void GUI_Set_App_Iconified( BOOL State );
  70. BOOL GUI_OpenSaveReq( UBYTE *PathBuf, ULONG PathBufLen );
  71. void GUI_Act_List_InsertABC( ULONG ListID, APTR ListEntry );
  72. void GUI_Set_Menuitem_Enabled( ULONG WinID, ULONG MenuItemID, BOOL NewState );
  73.  
  74. /*
  75.  * Global prototypes for module st_memory.c
  76.  *
  77.  * Auto-generated with XProto 1.1 by Andrew Bell
  78.  *
  79.  */
  80.  
  81. BOOL MEM_Init( void );
  82. void MEM_Free( void );
  83. APTR MEM_AllocVec( ULONG Size );
  84. void MEM_FreeVec( APTR Vec );
  85. UBYTE *MEM_StrToVec( UBYTE *Str );
  86.  
  87. /*
  88.  * Global prototypes for module st_misc.c
  89.  *
  90.  * Auto-generated with XProto 1.1 by Andrew Bell
  91.  *
  92.  */
  93.  
  94. ULONG R_GetTasksStackSize( void );
  95. BOOL R_DateStampToStr( struct DateStamp *DS, UBYTE *Buf );
  96. BOOL R_IsTaskPtrValid( struct Task *TaskPtr );
  97.  
  98. /*
  99.  * Global prototypes for module st_artl.c
  100.  *
  101.  * Auto-generated with XProto 1.1 by Andrew Bell
  102.  *
  103.  */
  104.  
  105. BOOL ARTL_Init( void );
  106. BOOL ARTL_Free( void );
  107. BOOL ARTL_SendSimpleAPMCmd( LONG CmdID );
  108. BOOL ARTL_SendAPM( struct ARTLProcessMsg *APM );
  109. struct AppList *ARTL_GetAppList( void );
  110. void ARTL_Set_TrackMode( ULONG NewTrackMode );
  111. ULONG ARTL_Get_TrackMode( void );
  112. BOOL ARTL_CheckProcSignals( ULONG SigsGot );
  113. ULONG ARTL_GetPMsgCnt( void );
  114. LONG ARTL_ClearDeadANs( struct AppList *AL );
  115. ULONG ARTL_ClearUnusedANs( struct AppList *AL );
  116. ULONG ARTL_ClearUnusedTNs( struct List *TL );
  117. void ARTL_AppListKillFunc( register __a2 APTR Pool,
  118.   register __a1 struct AppNode *AN );
  119. struct AppNode *ARTL_AppListMakeFunc( register __a2 APTR Pool,
  120.   register __a1 struct AppNode *AN );
  121. LONG ARTL_AppListShowFunc( register __a2 UBYTE **ColumnArray,
  122.   register __a1 struct AppNode *AN );
  123. LONG ARTL_AppListSortFunc( register __a1 struct AppNode *AN1,
  124.   register __a2 struct AppNode *AN2 );
  125. void ARTL_TrackerListKillFunc( register __a2 APTR Pool,
  126.   register __a1 struct TrackerNode *TN );
  127. struct TrackerNode *ARTL_TrackerListMakeFunc(
  128.   register __a2 APTR Pool,
  129.   register __a1 struct TrackerNode *TN );
  130. LONG ARTL_TrackerListShowFunc( register __a2 UBYTE **ColumnArray,
  131.   register __a1 struct TrackerNode *TN );
  132. LONG ARTL_TrackerListSortFunc(
  133.   register __a1 struct TrackerNode *TN1,
  134.   register __a2 struct TrackerNode *TN2 );
  135.  
  136. /*
  137.  * Local prototypes for module st_artl.c
  138.  *
  139.  * Auto-generated with XProto 1.1 by Andrew Bell
  140.  *
  141.  */
  142.  
  143. LONG ARTL_HandlerProcess( void );
  144. BOOL ATRL_InitHandlerDebug( void );
  145. void ATRL_EndHandlerDebug( void );
  146. void ARTL_PMsgDebug( struct PatchMsg *PMsg );
  147. struct AppNode *ARTL_PushLibAN( struct AppList *AL,
  148.   struct PatchMsg *PMsg );
  149. void ARTL_PullLibAN( struct AppList *AL, struct PatchMsg *PMsg );
  150. struct AppNode *ARTL_PushDevAN( struct AppList *AL,
  151.   struct PatchMsg *PMsg );
  152. void ARTL_PullDevAN( struct AppList *AL, struct PatchMsg *PMsg );
  153. struct AppNode *ARTL_PushFontAN( struct AppList *AL,
  154.   struct PatchMsg *PMsg );
  155. void ARTL_PullFontAN( struct AppList *AL, struct PatchMsg *PMsg );
  156. struct AppNode *ARTL_PushLockAN( struct AppList *AL,
  157.   struct PatchMsg *PMsg );
  158. void ARTL_PullLockAN( struct AppList *AL, struct PatchMsg *PMsg );
  159. struct AppNode *ARTL_PushFileHandleAN( struct AppList *AL,
  160.  struct PatchMsg *PMsg );
  161. void ARTL_PullFileHandleAN( struct AppList *AL,
  162.   struct PatchMsg *PMsg );
  163. struct AppList *ARTL_AllocAL( void );
  164. void ARTL_FreeAL( struct AppList *AL );
  165. void ARTL_LockAL( struct AppList *AL );
  166. void ARTL_UnlockAL( struct AppList *AL );
  167. void ARTL_FlushAL( struct AppList *AL );
  168. struct AppNode *ARTL_CreateAN_ViaPMsg( struct PatchMsg *PMsg );
  169. BOOL ARTL_AddANToAL( struct AppNode *InsAN, struct AppList *AL );
  170. struct AppNode *ARTL_AllocAN( void );
  171. void ARTL_FreeAN( struct AppNode *AN );
  172. struct AppNode *ARTL_CloneAN( struct AppNode *AN );
  173. struct AppNode *ARTL_FindAN_ViaTaskPtr( struct AppList *AL,
  174.   struct Task *TaskPtrToFnd );
  175. void ARTL_UnlinkAN( struct AppNode *AN );
  176. UWORD ARTL_UpdateANStatus( struct AppNode *AN );
  177. UBYTE *ARTL_SetANTaskName( struct AppNode *AN, UBYTE *TaskName );
  178. UBYTE *ARTL_SetANCmdName( struct AppNode *AN, UBYTE *CmdName );
  179. void ARTL_UpdateAL( struct AppList *AL );
  180. BOOL ARTL_SaveALAsASCII( struct AppList *AL, UBYTE *DestFile,
  181.   BOOL SaveAll );
  182. BOOL ARTL_SaveAL_Libs( struct AppNode *ANClone, BPTR OutFH,
  183.   BOOL SaveAll );
  184. BOOL ARTL_SaveAL_Devs( struct AppNode *ANClone, BPTR OutFH,
  185.   BOOL SaveAll );
  186. BOOL ARTL_SaveAL_Fonts( struct AppNode *ANClone, BPTR OutFH,
  187.   BOOL SaveAll );
  188. BOOL ARTL_SaveAL_Locks( struct AppNode *ANClone, BPTR OutFH,
  189.   BOOL SaveAll );
  190. BOOL ARTL_SaveAL_FHs( struct AppNode *ANClone, BPTR OutFH,
  191.   BOOL SaveAll );
  192. LONG ARTL_GetANListIndex_ViaTaskPtr( struct Task *TaskPtr );
  193. struct TrackerNode *ARTL_CreateTN_ViaPMsg( struct PatchMsg *PMsg );
  194. BOOL ARTL_AddTNToTL(
  195.   struct TrackerNode *InsTN, struct List *TL, ULONG AddMode );
  196. struct TrackerNode *ARTL_AllocTN( void );
  197. void ARTL_FreeTN( struct TrackerNode *TN );
  198. struct TrackerNode *ARTL_CloneTN( struct TrackerNode *TN );
  199. BOOL ATRL_BuildTNPath( struct TrackerNode *TN );
  200. struct TrackerNode *ARTL_FindLibTN_ViaLibName( struct List *TL,
  201.   UBYTE *LibName );
  202. struct TrackerNode *ARTL_FindLibTN_ViaLibBase( struct List *TL,
  203.   struct Library *LibBase );
  204. struct TrackerNode *ARTL_FindDevTN_ViaIOReq(  struct List *TL,
  205.   struct IORequest *IOReq );
  206. struct TrackerNode *ARTL_FindDevTN_ViaDevName( struct List *TL,
  207.   UBYTE *DevName );
  208. struct TrackerNode *ARTL_FindFontTN_ViaTextFont( struct List *TL,
  209.   struct TextFont *TF );
  210. struct TrackerNode *ARTL_FindLockTN_ViaLock( struct List *TL,
  211.   BPTR Lk );
  212. struct TrackerNode *ARTL_FindFileHandleTN_ViaFH( struct List *TL,
  213.   BPTR FH );
  214. void ARTL_UnlinkTN( struct TrackerNode *TN );
  215. void ARTL_FreeTL( struct List *TL );
  216. void ARTL_UpdateTL( struct List *TL );
  217. ULONG ARTL_CountTL( struct List *TL, LONG ID );
  218. ULONG ARTL_CountTNsInUse( struct List *TL );
  219. void ARTL_FindAppsUsingRes( struct TrackerNode *TNToFnd,
  220.   struct AppList *AL );
  221. ULONG ARTL_CountList( struct List *L );
  222.  
  223. /*
  224.  * Global prototypes for module st_libs.c
  225.  *
  226.  * Auto-generated with XProto 1.1 by Andrew Bell
  227.  *
  228.  */
  229.  
  230. BOOL LIBS_Init( void );
  231. void LIBS_Free( void );
  232.  
  233. /*
  234.  * Global prototypes for module st_actions.c
  235.  *
  236.  * Auto-generated with XProto 1.1 by Andrew Bell
  237.  *
  238.  */
  239.  
  240. BOOL ACT_SigEvent( ULONG SigEvent );
  241. void ACT_Main_TrackMode( void );
  242. void ACT_Main_Save( void );
  243. void ACT_Main_Update( void );
  244. void ACT_Main_TrackerListview_DoubleClick( void );
  245. void ACT_Main_TrackerListview_SingleClick( void );
  246. void ACT_Main_AppListview_SingleClick( void );
  247. void ACT_Main_Menu_Project_About( void );
  248. void ACT_Main_Menu_Project_About_MUI( void );
  249. void ACT_Main_Menu_Project_Settings_MUI( void );
  250. void ACT_Main_Menu_Project_Hide( void );
  251. void ACT_Main_Menu_Control_Reset( void );
  252. void ACT_Main_Menu_Control_ClearDeadApps( void );
  253. void ACT_Main_Menu_Control_TrackUnusedResources( BOOL Checked );
  254. void ACT_Main_Menu_Control_ShowUnusedResources( BOOL Checked );
  255. void ACT_Main_Menu_Control_ClearUnusedRes( void );
  256.  
  257. /*
  258.  * Global prototypes for module st_patches.c
  259.  *
  260.  * Auto-generated with XProto 1.1 by Andrew Bell
  261.  *
  262.  */
  263.  
  264. BOOL PATCH_Init( void );
  265. BOOL PATCH_Free( void );
  266. BOOL PATCH_CheckUnpatch( void );
  267.  
  268. /*
  269.  * Local prototypes for module st_patches.c
  270.  *
  271.  * Auto-generated with XProto 1.1 by Andrew Bell
  272.  *
  273.  */
  274.  
  275. APTR PATCH_CheckLVO( struct Library *LibBase, LONG LVO,
  276.   APTR OrigFunc, APTR ShouldBeFunc );
  277.  
  278.